package com.hotelvip.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

/**
 * 商品可置换
 * @author Lzh
 * @date 2020/12/16 11:00
 */
@TableName("ht_item_turn")
@Data
@Accessors(chain = true)
@ApiModel(value = "商品可置换",description = "商品可置换对象ItemTurn")
public class ItemTurn {
    @TableId(type = IdType.AUTO)
    @ApiModelProperty(value = "置换id",name = "id")
    private Long id;
    @ApiModelProperty(value = "商品id",name = "itemId")
    private Long itemId;
    @ApiModelProperty(value = "可置换产品id",name = "tId")
    private Long tId;
}
